import { EARTH_RADIUS } from '../components/GisMap/Constant'
export default {
  data() {
    return {
      style: {
        skybox: {
          // url: require("../assets/images/sky.jpg"),
          // color: "#0099CC"
          url: require("../assets/images/sky_3.jpg"),
          color: "#ffffff"
        },
        ground: {
          color: "#19417d",
          opacity: 1
        },
        river: {
          url: "/json/water.json",
          color: "#00bfff",
          opacity: 0.5
        },
        landuse: {
          url: "/json/landuse.json",
          color: "#1a3127",
          opacity: 0.5
        },
        road: {
          url: "/json/road.json",
          lineWidth: 4,
          color: "#010001",
          opacity: 0.5
        },
        aimPulse: {
          color: "#27c0ed",
          opacity: 0.5,
          radius: 200
        },
        storeyTitle: {
          opacity: 1,
          height: 18,
          color: "#5bd3ff",
          backgroundColor: "#222222"
        },
        shield: {
          color: "#00BFFF",
          opacity: 1,
          radius: 60
        },
        building: {
          url: '/json/building.json',
          opacity: 0.9,
          hoverColor: "#27C0ED",
          normal: {
            color: "#1e60eb"
          },
          red: {
            color: "#F63253"
          },
          yellow: {
            color: "#F6D501"
          },
          orange: {
            color: "#F3732F"
          }
        }
      },
      config: {
        dBearing: 180,
        dPitch: 0,
        dHeight: 3000,
        bearing: 0,
        pitch: 77,
        height: 950,
        autoRotate: true,
        maxDistance: EARTH_RADIUS * 999,
        minDistance: 100
      }
    }
  }
}
